RU beehive logo promo banner for Computing & Info Sciences
CS 380
2025spring
ibarland

tail recursion practice


1 Though remember that javac doesn't optimize tail-recursive functions (and can't, for backwards-compatibility with exceptions). Howeverk being tail-recursive is an aspect of teh source-code, not the compiler. You might also remember that racket implementations are required by the language-spec to optimize tail-recursive functions — else they're not true implementations.      

logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.